package com.gzhryc.email.dao.db;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;

/**
 * 用户内部邮件关系
 * @author 张浩
 * @version 2016-11-15
 */
@Table(name="email_inside_email_user")
public class InsideEmailUser {

	@Id
	protected Long id;
	
	@Column(name="email_id")
	protected Long emailId;
	
	@Column(name="user_id")
	protected Long userId;
	
	@Column(name="user_code")
	protected String userCode;
	
	@Column
	protected Integer status;		//邮件状态，1:未读，2:已读，3:删除
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getEmailId() {
		return emailId;
	}
	public void setEmailId(Long emailId) {
		this.emailId = emailId;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
}
